package com.example.demo.model;

import org.springframework.stereotype.Component;

@Component("cat")
public class Cat implements Animal {

    @Override
    public String makeSound() {
        return "Meow";
    }
}
